package com.igeek.ch06.om;

import com.igeek.pojo.OrdersCustom;
import com.igeek.pojo.UserCustom;

/**
 * @package com.igeek.ch06.om
 * @Description 一对多关系  订单对应订单详情表
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/11/22 18:57
 */
public interface OrdersAndOrderdetailMapper {
    //根据订单编号 查询订单及订单明细的信息
    public OrdersCustom selectOrdersAndOrderdetailByOid(int oid);

    //根据用户编号，查询用户信息及所下订单信息
    public UserCustom selectUserAndOrdersByUid(int uid);
}
